package com.bootdo.timing.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.timing.dao.CombDao;
import com.bootdo.timing.domain.CombDO;
import com.bootdo.timing.service.CombService;



@Service
public class CombServiceImpl implements CombService {
	@Autowired
	private CombDao combDao;
	
	@Override
	public CombDO get(Integer id){
		return combDao.get(id);
	}
	
	@Override
	public List<CombDO> list(Map<String, Object> map){
		return combDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return combDao.count(map);
	}
	
	@Override
	public int save(CombDO comb){
		return combDao.save(comb);
	}
	
	@Override
	public int update(CombDO comb){
		return combDao.update(comb);
	}
	
	@Override
	public int remove(Integer id){
		return combDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return combDao.batchRemove(ids);
	}
	
}
